package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.entity.*;

import java.util.List;

public interface IUserOrderRefundService {
    /**
     * 客户退款
     */
    public void UserRefund(long refundId,int status,String cause);


//    /**
//     * 供应商退货
//     */
//    public void SupplyRefund(SupplyRefundEntity supplyOrderRefundRecordEntity);

    /**
     * 供应商退款
     */
//    public void refundMoney(SupplyRefundEntity supplyOrderRefundRecordEntity);

    public IPage<UserOrderRefundEntity> findByItemUser(int pageNO, int pageSize,int status);

    public UserOrderRefundEntity findByIdUser(String orderRef);

    public IPage<SupplyRefundEntity> findByItemSupply(int pageNO, int pageSize);

    public SupplyRefundEntity findByIdSupply(Integer id);
}
